/**
 * Disclaimer:
 * Copyright &copy 2005 - 2010 EMEA - All rights reserved. Privacy Policy
 * eof Disclaimer
 *
 * @author <A HREF="markos.fragkakis@trasys.gr">Markos Fragkakis</a> (created by)
 * @author  $Author: $ (last change by)
 * 
 * @version $Revision: $ (cvs revision)
 * @since 21 Απρ 2010 (creation date)
 * @revisionDate $Date: $
 */

package org.markos;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Begin;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;

/**
 * TODO Place information about the class or interface here
 * 
 * @author fragkakm
 */
@Name("pageaAction")
public class PageaAction {

	@Out(required = false, scope = ScopeType.CONVERSATION)
	Person person;

	@Begin
	public String rule1() {

		person = new Person();
		person.setEmail("markos.fragkakis@gmail.com");
		person.setName("markos");
		return "rule1";
	}

	public String rule2() {

		person = new Person();
		person.setEmail("markos.fragkakis@gmail.com");
		person.setName("markos");
		return "rule2";
	}

	public String rule3() {

		person = new Person();
		person.setEmail("markos.fragkakis@gmail.com");
		person.setName("markos");
		return "rule3";
	}
}
